<?php
class My_Tool_Validate{
	
    static function isEmpty($value){
    	$obj = new Zend_Validate_NotEmpty();
    	return $obj->isValid($value) ? false : true;
    }
    
    static function isEmail($email){
    	$obj = new Zend_Validate_EmailAddress();
    	return $obj->isValid($email) ;
    }
    
    
    static function isInt($value){
    	$obj = new Zend_Validate_Int();
    	return $obj->isValid($value);
    }
    
    
}